//
// Created by LinorInk on 2024/4/30.
//

#ifndef MYMODULS_USER_H
#define MYMODULS_USER_H
#include "stm32f407xx.h"

typedef enum {
    IDLE,
    MOVE_FORWARD,
    MOVE_BACKWARD,
    MOVE_LEFT,
    MOVE_RIGHT,
    TURN_ROUND_LEFT,
    TURN_ROUND_RIGHT,
    TURN_ROUND_LEFT_HIGH,
    TURN_ROUND_RIGHT_HIGH,
    IDLE_HIGH,
    IDLE_SHORT,
    IDLE_DOWN,
    CHEER,
    CHEER_1,
}DR16_COMMAND_t;

extern DR16_COMMAND_t DR16_COMMAND;

void user_init();
void dr16_controller_init(void);
void action_controller_init();

#endif //MYMODULS_USER_H
